import request from "../utils/request";

// 登录-->手机号登录
export const loginByPhone = (params) => {
  let url = "/api/user/phone-login";
  return request.post(url, params);
};

// 登录-->用户信息
export const getUserInfo = (params) => {
  let url = "/api/v1/user/userInfo";
  return request.post(url, params);
};
